package com.aaa.system.service;

import com.aaa.entity.LoginInfo;
import com.aaa.system.vo.LoginInfoVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 系统访问记录 服务类
 * </p>
 *
 * @author L
 * @since 2023-03-24
 */
public interface ILoginInfoService extends IService<LoginInfo> {

    Result<IPage<LoginInfo>> selectAll(Integer current, Integer size, LoginInfoVo loginInfoVo);

    Result<Boolean> deleteLoginInfoByIds(Long[] infoIds);

    Result<Boolean> truncateTable();

    void addLoginInfo(LoginInfo loginInfo);
}
